CC     := gcc
LIBS   := $(shell pkg-config --libs --cflags glib-2.0 gstreamer-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4)
CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer \
		$(shell pkg-config --cflags glib-2.0 gstreamer-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4)
all:rtc_pub ice-debug

rtc_pub: srs.c
		"$(CC)" $(CFLAGS) $^ $(LIBS) -o $@
ice-debug: get.c
		"$(CC)" -o $@ $^  $(shell pkg-config --cflags --libs glib-2.0 libsoup-2.4)
